package com.archermind.eatOrder.view;

import com.archermind.eatOrder.R;
import com.archermind.eatOrder.login;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class relogin_dialog extends Activity {
    /** Called when the activity is first created. */

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog);
        Button button=(Button)findViewById(R.id.button);
        button.setOnClickListener(new ButtonClickListener());
   }
    class ButtonClickListener implements OnClickListener{
    	public void onClick(View v){
    		 Intent intent=new Intent();
       	    intent.setClass(relogin_dialog.this, login.class);
       	    relogin_dialog.this.startActivity(intent);
       	    relogin_dialog.this.finish();
    	}


    }
}